package com.sun.dao;

import com.sun.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

public interface TeacherMapper {

    //获取老师
    //List<Teacher> getTeacher();

    //获取指定老师以及拥有的所有学生
    Teacher getTeacher(@Param("tid") int id);
}
